<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">



<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<base href="http://localhost:8080/Gucci/">
<link rel='stylesheet' href='css/Caokanyonhuxiougei.css'>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<title>Insert title here</title>
<%
	HttpSession Session = request.getSession();
   Object d=   Session.getAttribute("sanpinr1");
   System.out.println("黄日升"+d);
%>
</head>
<style>
table {
	width: 100%;
	margin: 0 auto;
	border: 1px solid silver;
}

.face {
	width: 80px;
}

.word {
	width: 100%;
	font-size: 12px;
	color: red;
	display: inline-block;
	text-decoration: none;
	margin-left: 10px;
}

td {
	padding: 10px 0;
	min-width: 65px;
}

.price {
	font-weight: bold;
	color: black;
}

.totle {
	font-weight: bold;
	color: red;
}

tr {
	height: 50px;
	border: 1px solid #d8d8d8;
	background-color: #f6f6f6;
}

td {
	text-align: center;
}
</style>
<body>
	<table>
		<tr class="title">
			<td style="font-size: 30px" colspan="11">商品用户信息详情</td>
		</tr>
		<tr style="font-size: 30px" class="title">
			<td style="font-size: 30px" colspan="3">订单编号</td>
			<td  style="font-size: 30px" colspan="5">订单数量</td>
			<td style="font-size: 30px" colspan="3">订单金额</td>
		</tr>
	<c:forEach  items="${sanpinr1}" var="u" varStatus="i">
		<tr class="title">
			<td colspan="3">${u.god_id}
	</td>
			<td colspan="5">${u.god_quantity}</td>
			<td colspan="3">${u.god_cost}</td>
		</tr>
	</c:forEach>
	</table>
	<table>
		<tr class="title">
			<td colspan="11">商品信息</td>
		</tr>
		<tr class="title">
			<td style="font-size: 30px" colspan="2">编号</td>
			<td style="font-size: 30px" colspan="2">商品名称</td>
			<td style="font-size: 30px" colspan="2">描述</td>
			<td style="font-size: 30px" >价格</td>
			<td style="font-size: 30px" colspan="2">库存</td>
			<td style="font-size: 30px" colspan="2">图片</td>
		</tr>
		<c:forEach  items="${sanpinr1}" var="u" varStatus="i">
		<tr class="title">
			<td colspan="2">${u.gp_id}</td>
			<td colspan="2">${u.gp_name}</td>
			<td colspan="2">${u.gp_description}</td>
			<td>${u.gp_price}</td>
			<td colspan="2">${u.gpc_id}</td>
			<td colspan="2"><img style="width: 80PX" id='as1'  src='img/${u.gp_tupian}'/></td>
		</tr>
		</c:forEach>
		<tr class="title">
       
        <td style="font-size: 30px" colspan="3">商品价格</td>
        <td style="font-size: 30px" colspan="5">购买人信息</td>
        <td style="font-size: 30px" colspan="3">收货人信息</td>
       
    </tr> 
   
    <c:forEach  items="${sanpinr1}" var="u" varStatus="i">
     <tr class="title">
       
        <td   colspan="3">商品总价:￥${u.go_cost}</td>
         
             
                  <td   colspan="5">ID:${u.gc_user_id}</td>
                     <td   colspan="3">收货人姓名:${u. go_user_name}</td>
                      
    </tr> 
     <tr class="title">
       
        <td     colspan="3">配送费用:+￥1</td>
  
              
                  <td   colspan="5">名称:${u.gc_uset_name}</td>
                     <td    colspan="3">收货人手机号:${u.gc_mobile}</td>
                     
    </tr> 
     <tr class="title">
       
        <td     colspan="3">促销优惠:-￥1</td>
           
             
                  <td   colspan="5">手机号:${u.gc_mobile1}</td>
                     <td    colspan="3">收货人地址:${u.go_user_address}</td>
                       
    </tr> 
     <tr class="title">
       
        <td     colspan="3">折扣金额:-￥0</td>
        
             
                  <td    colspan="5"></td>
                     <td    colspan="3">邮政编码:${u.gc_email}</td>
                        
    </tr> 
     <tr class="title">
       
        <td   colspan="3">优惠券:-￥0</td>
           <td  colspan="8"></td>
            
                 
    </tr> 
     <tr class="title">
       
        <td   colspan="3">积分抵扣:-￥0</td>
             <td  colspan="8"></td>
              
                 
    </tr> 
     <tr class="title">
       
        <td  colspan="3">实付金额:￥${u.go_cost1}</td>
           <td  colspan="8"><form action="DinDanguan/findSx" method='post'>
<button style="width:30%;height:50px;background-color:floralwhite;border-radius:15px; color: black; font-size: 20px;margin:10% 0px 0px  35%;"  type="submit" >取消查看</button>
</form></td>
             
    </tr> 
		</c:forEach>
		
	</table>
	
</body>
</html>